import com.wang.entity.UserT;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UT {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
        UserT userT = (UserT) context.getBean("userT");
        userT.show();
    }
}
